package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.UserOutiftsMapper;
import com.ruoyi.system.domain.UserOutifts;
import com.ruoyi.system.service.IUserOutiftsService;

/**
 * 用户装扮信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-10
 */
@Service
public class UserOutiftsServiceImpl implements IUserOutiftsService 
{
    @Autowired
    private UserOutiftsMapper userOutiftsMapper;

    /**
     * 查询用户装扮信息
     * 
     * @param userOutiftsId 用户装扮信息主键
     * @return 用户装扮信息
     */
    @Override
    public UserOutifts selectUserOutiftsByUserOutiftsId(Long userOutiftsId)
    {
        return userOutiftsMapper.selectUserOutiftsByUserOutiftsId(userOutiftsId);
    }

    /**
     * 查询用户装扮信息列表
     * 
     * @param userOutifts 用户装扮信息
     * @return 用户装扮信息
     */
    @Override
    public List<UserOutifts> selectUserOutiftsList(UserOutifts userOutifts)
    {
        return userOutiftsMapper.selectUserOutiftsList(userOutifts);
    }

    /**
     * 新增用户装扮信息
     * 
     * @param userOutifts 用户装扮信息
     * @return 结果
     */
    @Override
    public int insertUserOutifts(UserOutifts userOutifts)
    {
        return userOutiftsMapper.insertUserOutifts(userOutifts);
    }

    /**
     * 修改用户装扮信息
     * 
     * @param userOutifts 用户装扮信息
     * @return 结果
     */
    @Override
    public int updateUserOutifts(UserOutifts userOutifts)
    {
        return userOutiftsMapper.updateUserOutifts(userOutifts);
    }

    /**
     * 批量删除用户装扮信息
     * 
     * @param userOutiftsIds 需要删除的用户装扮信息主键
     * @return 结果
     */
    @Override
    public int deleteUserOutiftsByUserOutiftsIds(Long[] userOutiftsIds)
    {
        return userOutiftsMapper.deleteUserOutiftsByUserOutiftsIds(userOutiftsIds);
    }

    /**
     * 删除用户装扮信息信息
     * 
     * @param userOutiftsId 用户装扮信息主键
     * @return 结果
     */
    @Override
    public int deleteUserOutiftsByUserOutiftsId(Long userOutiftsId)
    {
        return userOutiftsMapper.deleteUserOutiftsByUserOutiftsId(userOutiftsId);
    }
}
